@charset "utf-8";

@import "function.less";

//ui 按钮
.ui-btn{ background:url(../images/btn.png) no-repeat; width:96px; height:35px; line-height:35px; color:#fff; text-align:center; cursor: pointer; border:none; font-family:"微软雅黑",Verdana,"宋体",sans-serif normal;
	margin:0; padding:0;
	&:hover{ background-position: 0 -35px; color:#fff;}
	&:active{ color:#eee;}
}
//ui 文本框
.ui-text{
	padding: 5px; .bd(); .border-radius(3px); .box-shadow-normal();
	&:focus{
		.box-shadow-focus();
	}
}
//ui 禁止使用
.ui-disabled{ .bd(); background: #F5F5F5; cursor: not-allowed; color:#666;}
.ui-readonly{
	cursor: not-allowed;
	&:focus{ 
		.bd();
		.box-shadow-normal();
	}
}

//ui 文本框错误提示
.ui-error{ .bd(#B94A48);
	&:focus{
		.box-shadow-focus(185, 74, 72);
	}
}

//ui 进度条
.ui-progress-bar{
	.bd(); background: #fff; height:18px; .border-radius(5px); .over-zoom(); .box-shadow-normal();
	p{ background:#52A8EC; height:100%; }	
}
//ui 关闭icon
.ui-close{ font-size: 20px; line-height: 18px; color: #000; text-shadow: 0 1px 0 white; opacity: 0.2; }

.ui-checkbox{display: inline-block; padding-top: 5px; margin-bottom: 0; vertical-align: top; font-size:12px;}
